package com.yilin.platform.service.user;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.platform.entity.system.Jurisdiction;
import com.yilin.platform.entity.user.Account;
import com.yilin.platform.entity.user.Authority;

import java.util.List;

public interface IAuthorityervice extends IService<Authority> {
    void   saveAuthority(Account account, List<Jurisdiction> jurisdictionList);

    List<Authority> getAuthorityListByyAccountId(String accountId);

    void deleteAuthorityListByAccountId(String accountId);


    void   getAuthorityByAccountIdAndCode(Account account, String code);
}
